package com.adv.ems.service;

import com.adv.ems.db.entity.SystemWarningDO;
import com.adv.ems.enums.CollectPointWarningTypeEnum;
import com.adv.ems.model.param.WarningDealParam;
import com.adv.ems.model.param.WarningListParam;
import com.adv.ems.model.vo.WarningListVO;

import java.util.List;

public interface WarningService {
    void pushCollectPointWarning(Long refDataId, Long objId, Class objClass, CollectPointWarningTypeEnum type, String value, String msg);

    List<SystemWarningDO> getTodayUnReadLastWarning(List<Long> pointIds, Class cls, List<String> types, Integer limit );

    WarningListVO list(WarningListParam param, String acceptLanguage);

    Boolean deal(WarningDealParam param, String acceptLanguage);
}
